#ifndef READ_BOY_FB_H__
#define READ_BOY_FB_H__
//#include "my_epd_spi.h"

void read_boy_fb_clear();
void read_boy_fb_fillRect(int16_t x,int16_t y,int16_t w,int16_t h);
uint8_t read_boy_fb_read_one_byte(uint32_t num);
void read_boy_fb_set_one_pixel(int16_t iX,int16_t iY,uint8_t color);
void read_boy_fb_draw_A8_bitmap(uint16_t iX,uint16_t iY,uint16_t width,uint16_t hight,const unsigned char* image_buffer);
void read_boy_Floyd_Steinberg_baier(unsigned char* image,const unsigned char* image_buffer,uint16_t width,uint16_t hight);
void read_boy_Floyd_Steinberg_image( unsigned char* image,const unsigned char* image_buffer,uint16_t width,uint16_t hight);

void read_boy_Floyd_Steinberg_baier_to_fb(uint16_t iX,uint16_t iY,uint16_t width,uint16_t hight,const unsigned char* image_buffer);
void read_boy_Floyd_Steinberg_to_fb(uint16_t iX,uint16_t iY,uint16_t width,uint16_t hight, int16_t* image2,const unsigned char* image_buffer );

void read_boy_Floyd_Steinberg_to_fb_rgb565(uint16_t iX,uint16_t iY,uint16_t width,uint16_t hight, int16_t* image2,const uint16_t* image_buf );
void read_boy_fb_draw_rgb565_bitmap(uint16_t iX,uint16_t iY,uint16_t width,uint16_t hight,const uint16_t* image_buf );
void read_boy_Floyd_Steinberg_baier_to_fb_rgb565(uint16_t iX,uint16_t iY,uint16_t width,uint16_t hight,const uint16_t* image_buf);
#endif